package com.shoux.api.web.entity.apiData;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 专利基本信息
 * </p>
 *
 * @author xiaoZhi
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("zb_as_zljbxx")
@ApiModel(value="ZbAsZljbxxEntity对象", description="专利基本信息")
public class ZbAsZljbxxEntity extends Model<ZbAsZljbxxEntity> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "专利id")
    @TableId(value = "patentId", type = IdType.AUTO)
    private String patentid;

    @ApiModelProperty(value = "专利名称")
    @TableField("patentName")
    private String patentname;

    @ApiModelProperty(value = "专利类型")
    @TableField("patentType")
    private String patenttype;

    @ApiModelProperty(value = "专利号")
    @TableField("patentNo")
    private String patentno;

    @ApiModelProperty(value = "申请号")
    @TableField("applyNo")
    private String applyno;

    @ApiModelProperty(value = "申请日")
    @TableField("applyDate")
    private String applydate;

    @ApiModelProperty(value = "公开公告号")
    @TableField("pubAnnoNo")
    private String pubannono;

    @ApiModelProperty(value = "公开公告日")
    @TableField("pubAnnoDate")
    private String pubannodate;

    @ApiModelProperty(value = "发明设计人")
    @TableField("inventorName")
    private String inventorname;

    @ApiModelProperty(value = "申请专利权人")
    @TableField("applicantName")
    private String applicantname;

    @ApiModelProperty(value = "申请人地址")
    @TableField("applicantAddress")
    private String applicantaddress;

    @ApiModelProperty(value = "专利代理机构")
    @TableField("agencyName")
    private String agencyname;

    @ApiModelProperty(value = "代理人")
    @TableField("agentName")
    private String agentname;

    @ApiModelProperty(value = "主分类号")
    @TableField("mainTypeNo")
    private String maintypeno;

    @ApiModelProperty(value = "分类号")
    @TableField("subTypeNo")
    private String subtypeno;

    @ApiModelProperty(value = "摘要")
    private String abstract1;

    @ApiModelProperty(value = "摘要附图链接")
    @TableField("drawsUrl")
    private String drawsurl;

    @ApiModelProperty(value = "当前法律状态")
    @TableField("lastLegalStatus")
    private String lastlegalstatus;

    @ApiModelProperty(value = "法律状态列表")
    @TableField("legalStatusInfo")
    private String legalstatusinfo;


    @Override
    protected Serializable pkVal() {
        return this.patentid;
    }

}
